home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20000114-20000217
/
000255_news@columbia.edu _Wed Feb 16 15:10:18 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA03184
for <kermit.misc@watsun.cc.columbia.edu>; Wed, 16 Feb 2000 15:10:18 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id JAA10175
for kermit.misc@watsun.cc.columbia.edu; Mon, 14 Feb 2000 09:39:08 -0500 (EST)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Subject: AIX 4.x UUCP lockfile directory?
Date: 14 Feb 2000 14:39:06 GMT
Organization: Columbia University
Message-ID: <88942a$9ts$1@newsmaster.cc.columbia.edu>
To: kermit.misc@columbia.edu
In AIX, the preferred method for an application to obtain a lock on a
dialout device is with the (AIX-specific) ttylock() API. This is
supposed to shield the application from having to know the details about
the lockfile location, name, and contents. But of course, we still have
the same old silly scheme underneath.
A user who recently installed C-Kermit 7.0, which uses ttylock() in the
politically correct manner, complains it can't obtain a dialout device:
"access to lock directory denied", even though Kermit's owner, group,
and permissions are the same as cu; even when Kermit is run as root.
(And no, they never tried to run cu.)
It seems there is no /etc/locks on this computer. My questions are:
. What is the lockfile directory used by ttylock() on AIX 4.x?
It seems to be /etc/locks, but on the AIX systems I've seen, that's
symlink to /var/locks.
. Are all AIX 4.x's supposed to have /etc/locks? Is it supposed to
be a symlink? Is this symlink installed by default or do sysadmins
have to put it there?
. If the real lockfile directory is /var/locks, why does ttylock()
use /etc/locks?
. Are there differences among AIX 4.1, 4.2, and 4.3?
- Frank